package com.qzsoft.zhjd.machine.modules.machineinfo.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qzsoft.zhjd.machine.modules.machineinfo.dto.MachineInfoBookListDto;
import com.qzsoft.zhjd.machine.modules.machineinfo.entity.MachineInfoEntity;

/**
 * @ClassName MachineInfoMapper
 * @Description 机械设备信息数据库接口
 * @author linhuawei
 * @since 2021-11-01
 */
@Mapper
public interface MachineInfoMapper extends BaseMapper<MachineInfoEntity> {

    /**
     * @Title bookPage
     * @Description 设备台账分页数据
     * @param page   分页条件
     * @param params 查询条件
     * @return 设备台账分页数据
     */
    IPage<MachineInfoBookListDto> bookPage(IPage<MachineInfoBookListDto> page, @Param("params") Map<String, Object> params);

}
